docs.rs failed to build android_glue-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
android_glue-0.2.3
You can make _any_ program run on Android with minimal non-intrusive
modification using this library.
See, https://github.com/tomaka/android-rs-glue, for detailed instructions!
The libray allow you to run any program on Android, but it also allows you
to work specifically with the Android system if you desire. The following
sample application demonstrates both non-os specific code, and android
specific code.
A example application:
// This code will only be included if android is the target.
#[cfg(target_os = "android")]
#[macro_use]
extern crate android_glue;
// This code will only be included if android is the target.
#[cfg(target_os = "android")]
android_start!(main);
use std::sync::mpsc::channel;
use android_glue::{Event, add_sender};
#[cfg(target_os = "android")]
fn os_specific() {
// Create a channel.
let (eventstx, eventsrx) = channel::